#ifndef _AT24C04_H
#define _AT24C04_H


#include "stm32f4xx.h"


#define Write_Addr 0XA0
#define Read_Addr  0XA1

void AT24C04_Init(void);
void AT24C04_WriteByte(u16 Addr,u8 data);
u8 AT24C04_ReadByte(u16 Addr);
void AT24C04_Write(u16 Addr,u8 *Buff,u16 Number);
void AT24C04_Read(u16 Addr,u8 *Buff,u16 Number);

#endif
